package com.kurancy.service.kurancycreated;

import com.kurancy.domain.KurancyCreated;
import com.kurancy.domain.enums.KurancyStatus;
import com.kurancy.domain.exception.InvalidTokenException;
import com.kurancy.domain.exception.NotFoundException;

public interface KurancySearchService {

	public KurancyStatus validateToken(String token) throws NotFoundException, InvalidTokenException;
	
	public KurancyCreated getKurancyCreatedByToken(String token) throws NotFoundException, InvalidTokenException;

}
